package com.base.mapper;

import com.base.bean.CommonFile;
import org.springframework.stereotype.Repository;

@Repository
public interface CommonFileMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(CommonFile record);

    int insertSelective(CommonFile record);

    CommonFile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CommonFile record);

    int updateByPrimaryKey(CommonFile record);

    CommonFile selectByFileCode(String fileCode);

    int deleteOutCommonFile();

    int  makeFileOut(String fileCode);
}